home *** CD-ROM | disk | FTP | other *** search
/ Beginning Mac Programming / Beginning Mac Programming.bin / pc / Open Me for REALbasic 3 / REALbasic 3.2 / Goodies / 3rd Party Demos / 3rd Party Plugins / System / DepthPlug 1.0 / DepthPlug 1.0 Read Me
Encoding:
Text File  |  1999-01-23  |  517 b   |  15 lines

  1. DepthPlug 1.0
  2.  
  3. Written by Tim Spalone (thanks SnowRain and Jim IV!)
  4.  
  5. This plugin can be used to check if a certain depth is available and set the depth of the main graphic device.
  6.  
  7. Here are the function prototypes:
  8.  
  9. bool HasDepth(Depth as integer)
  10.  
  11. int SetDepth(Depth as integer)
  12.  
  13. Always call HasDepth() before changing the device depth to make sure it supports the requested depth.  It returns true if Depth is supported.
  14.  
  15. Hopefully int SetRes(HRes as integer, VRes as integer) will be available in the next release.